package com.xinjie.www.dao.thumb;

import com.xinjie.www.po.Collect;
import com.xinjie.www.po.Thumb;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public interface ThumbDao {
    //进行点赞
    public int doThumb(Connection connection, int postId, int userId, String time) throws SQLException;
    //获取点赞
    public List<Thumb> getThumb(Connection connection, int userId) throws SQLException;
    //取消点赞
    public int cancelThumb(Connection connection,int thumbId,int postId) throws SQLException;
}
